package topofstack.networkserverutils.bean;

public class MailInfo {
	public final long deliveryTime;
	public final String sentTime;
	public final String receivedTime;

	public MailInfo(long deliveryTime, String sentTime, String receivedTime) {
		super();
		this.deliveryTime = deliveryTime;
		this.sentTime = sentTime;
		this.receivedTime = receivedTime;
	}

	@Override
	public String toString() {
		return "Delivery Time: " + deliveryTime / 100 + "s\n"
				+ "Sent: " + sentTime + "\nReceived: " + receivedTime;
	}

}
